package com.loong.web.gp4j.bean.param.user;

import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 重置密码
 *
 * @author 张成轩
 */
public class RepwdParam {

	private String user;
	private String email;

	/**
	 * @return 用户
	 */
	@NotBlank(message = "用户不能为空")
	public String getUser() {

		return user;
	}

	/**
	 * @param user 用户
	 */
	public void setUser(String user) {

		this.user = user;
	}

	/**
	 * @return 邮箱
	 */
	@NotBlank(message = "邮箱不能为空")
	@Email(message = "邮箱格式错误")
	public String getEmail() {

		return email;
	}

	/**
	 * @param email 邮箱
	 */
	public void setEmail(String email) {

		this.email = email;
	}
}
